home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
MiscKit1.7.1
/
MiscKitArchive.mbox
/
mbox
/
000007_michael@afs.com_Tue Sep 14 11:57 MDT 1993.msg
< prev
next >
Wrap
Internet Message Format
|
1994-10-30
|
4KB
Received: from yvax.byu.edu by maine.et.byu.edu; Tue, 14 Sep 93 11:57:50 -0600
Return-Path: <michael@afs.com>
Received: from DIRECTORY-DAEMON by yvax.byu.edu (PMDF V4.2-13 #4169) id
<01H2XRLY3VVK934PJX@yvax.byu.edu>; Tue, 14 Sep 1993 11:55:43 MDT
Received: from alaska.et.byu.edu by yvax.byu.edu (PMDF V4.2-13 #4169) id
<01H2XRLRNLM8934PZM@yvax.byu.edu>; Tue, 14 Sep 1993 11:55:29 MDT
Received: from yvax2.byu.edu by alaska.et.byu.edu; Tue, 14 Sep 93 11:57:09 -0600
Received: from DIRECTORY-DAEMON by yvax.byu.edu (PMDF V4.2-13 #4169) id
<01H2XRL5R55S934PJX@yvax.byu.edu>; Tue, 14 Sep 1993 11:55:01 MDT
Received: from uu5.psi.com by yvax.byu.edu (PMDF V4.2-13 #4169) id
<01H2XRKZPBQ8934PZE@yvax.byu.edu>; Tue, 14 Sep 1993 11:54:52 MDT
Received: by uu5.psi.com (5.65b/4.0.071791-PSI/PSINet) via UUCP; id AA08765 for
; Tue, 14 Sep 93 13:14:11 -0400
Received: from escher by afs.com (NX5.67d/3.2.083191-Anderson Financial
Systems) id AA15209; Tue, 14 Sep 93 12:14:42 -0400
Received: by escher (NX5.67d/NeXT-2.0) id AA01664; Tue,
14 Sep 93 12:14:42 -0400
Received: by NeXT.Mailer (1.95)
Received: by NeXT Mailer (1.95)
Date: Tue, 14 Sep 1993 12:14:42 -0400
From: michael@afs.com
Subject: Re: External files & allowable contributions
To: misckit@byu.edu
Reply-To: Michael_Pizolato@afs.com
Message-Id: <9309141614.AA15209@afs.com>
Content-Transfer-Encoding: 7BIT
Status: R
>We have (kind of ) be using /LocalDeveloper for the same purposes.
>(We picked LocalDeveloper since it echos NextDeveloper
>
>/LocalDeveloper---- Apps
> |___Documentation
> |___Examples
> |___Headers
> |___Library
> |___Palettes
>
>
>Perhaps a variation on the two ideas would work..
>
>The thing I dislike about our "solution" is dealing with libraries
>since you have to either mess with the makefile templates or always
>modify your own makefile.preambles to get the path to the libraries
>included. (Then again perhaps I'm just lazy :-) )
We do a similar thing here. Our structure is almost the same as
the above:
/LocalDeveloper/Apps
/Examples
/Headers
/Images
/Libraries
/Makefiles
/Palettes
/Projects
In addition, /usr/local/lib is a link to /LocalDeveloper/Libraries
and /usr/local/include is a link to /LocalDeveloper/Headers. Thus
both get searched by the compiler and linker with no modifications
to makefiles and no additional compiler/linker flags.
I also have a similar hierarchy in ~/Developer. Also, ~/Unix/lib
is a link to ~/Developer/Libraries and ~/Unix/include is a link to
~/Developer/Headers. To get the compiler and linker to look in
these directories, I created
~/Developer/Makefiles/app/MRPMakefile.preamble, which defines such
macros as OTHER_CFLAGS to add the appropriate directories to my
compiles. Whenever I create a new project, I just include
MRPMakefile.preamble in the Makefile.preamble of the new project,
and it's usually the only change I have to make to the template
(I'm lazy too :-).
As for the problem of auxiliary files for MiscKit, I'm in favor of
something like Don proposed. However, the proper place for bundles
is /LocalApps or ~/Apps, not the *Library directories (NeXT says
this). Depending on the naming convention for the kit, it would
probably be wise to have one bundle per prefix or something. For
example, if I contribute stuff that is generally named MRPwhatever,
I'd code it to look for MRP.bundle or something in the standard
location. Someone else's stuff would use a different bundle. This
prevents a massive MiscKit bundle.
The problem with the *Apps directories as the repository is that
they would get cluttered with lots of bundles. *Library/MiscKit
is a way to hide the clutter, but it's non-standard. Any ideas?
Thanx,
Michael
---
Michael Pizolato Michael_Pizolato@afs.com
Mu-I-Jin NeXTMail appreciated
Anderson Financial Systems Inc.